{template header}
<a href="?c=admin&a=bindUserReport&days=7" target="_self"><i class="icon-eye-open"></i> 最近7天</a> &nbsp;&nbsp;　　
<a href="?c=admin&a=bindUserReport&days=30" target="_self"><i class="icon-eye-open"></i> 最近30天</a> &nbsp;&nbsp;
<div class="bs-docs-example mt-20">
    <table class="table table-striped table-align">
        <thead>
            <tr>
                <th>日期</th>
                <th><img src="static/bootstrap/img/cms/icon_qq.png" width="24" height="24"> QQ</th>
                <th><img src="static/bootstrap/img/cms/icon_weibo.png" width="24" height="24"> 微博</th>
                <th><img src="static/bootstrap/img/cms/icon_weixin.png" width="24" height="24"> 微信</th>
                <th><img src="static/bootstrap/img/cms/icon_renren.png" width="24" height="24"> 人人</th>
                <th><img src="static/bootstrap/img/cms/icon_phone.png" width="24" height="24"> 手机</th>
            </tr>
        </thead>
        <tbody>
            {loop $detailUserData $k $v}
            <tr>
                <td>{$v['d']}</td>
                <td>{$v['QQ']}</td>
                <td>{$v['Weibo']}</td>
                <td>{$v['Wechat']}</td>
                <td>{$v['Renren']}</td>
                <td>{$v['phone']}</td>
            </tr>
            {/loop}
        </tbody>
    </table>
</div>
<div class="bs-docs-example table-align">
    <h4>　总计数据</h4>
    <table class="table table-striped">
        <tr>
            {loop $userData $k $v}
            <td>{if $v['channel'] == 2}
                <img src="static/bootstrap/img/cms/icon_qq.png" width="24" height="24">{/if} {if $v['channel']==3}
                <img src="static/bootstrap/img/cms/icon_weibo.png" width="24" height="24">{/if} {if $v['channel']==4}
                <img src="static/bootstrap/img/cms/icon_weixin.png" width="24" height="24">{/if} {if $v['channel']==5}
                <img src="static/bootstrap/img/cms/icon_renren.png" width="24" height="24">{/if} 
                {if $v['channel']==6}
                <img src="static/bootstrap/img/cms/icon_phone.png" width="24" height="24">{/if} &nbsp;&nbsp;&nbsp; 
                {$v['total']}
            </td>
            {/loop}
        </tr>
        </tbody>
    </table>
</div>
{template footer}
